package com.ym.medical.dao;

import com.ym.medical.domain.entity.DoctorServiceItemEntity;
import com.ym.medical.domain.vo.DoctorServiceItemVO;
import com.ym.medical.domain.vo.OpenServiceListVo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 医生服务项目Dao接口
 *
 * @author ym
 * @date 2020-08-24
 */
@Repository
public interface DoctorServiceItemDao extends Mapper<DoctorServiceItemEntity> {

	/**
	 * 医生服务项返回
	 *
	 * @param doctId
	 * @return
	 */
	List<DoctorServiceItemEntity> selectByDoctId(Long doctId);

	/**
	 * 查询医生的服务项,包括定价
	 *
	 * @param doctorId
	 * @return
	 */
	List<OpenServiceListVo> openServiceList(Long doctorId);


}
